#!/bin/bash
for f in html/*.html; do
    if [ -f ${f} ]; then
        sed -i''  -n '/may not be available when loading/{s/.*//;x;d;};x;p;${x;p;}' "${f}"
    fi
done
